﻿@using PerpetuumSoft.Knockout

@model TimeProject.WebSite.ViewModels.MessageContainer
@{
    var ko = Html.CreateKnockoutContext();
}

@using (ko.If(x => x.Flag1))
{
        @Html.Partial("_infobox", Model)        
}
@using (ko.If(x => x.Flag2))
{
        @Html.Partial("_infobox", Model)        
}